﻿namespace Crocodile.LangUtils
{
    public static class ArrayExt
    {

        public static bool IsNotEmpty<T> (this T[] arr)
        {
            return arr != null && arr.Length > 0;
        }


        public static bool IsEmpty<T> (this T[] arr)
        {
            return arr == null || arr.Length == 0;
        }

    }
}
